package com.zenith.storage.po.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zenith.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 回收站实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sto_recycle")
@Schema(name = "回收站实体类", description = "回收站实体类")
public class StorageRecycle extends BaseEntity {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;

    /**
     * 用户文件ID
     */
    @Schema(description = "用户文件ID")
    private Long userFileId;

    /**
     * 删除前完整路径
     */
    @Schema(description = "删除前完整路径")
    private String originalPath;

    /**
     * 删除时间
     */
    @Schema(description = "删除时间")
    private LocalDateTime deleteTime;

    /**
     * 彻底删除时间
     */
    @Schema(description = "彻底删除时间")
    private LocalDateTime clearTime;
}